package com.liujun.io.nio.thread;

public class TestPut {

    public static void main(String[] args) {
        Bean bean = new Bean();
        bean.setA(100);
        bean.setB(100);
        bean.setC(100);

        Thread thread1 = new Thread(new ThreadProcess1(bean));
        Thread thread2 = new Thread(new ThreadProcess2(bean));
        thread1.start();
        thread2.start();
    }

}
